package com.y.architecture.base_header;

import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;

import com.y.architecture.base.IBaseContact;

/**
 * Created by youjingjing on 2017/11/24.
 */

public class IBaseHeaderContact {
    public interface IBaseHeaderView extends IBaseContact.IBase {
        void initHeader(Bundle savedInstanceState);

        int getToolbarId();

        boolean isShowToolbar();

        void onToolbarClicked(View view);

        String getTitleText();
    }
    public interface IBaseHeaderPresenter extends IBaseContact.IPresenter {

        Toolbar initToolbar();
    }
}
